﻿<Canvas x:Name="parentCanvas"
        xmlns="http://schemas.microsoft.com/client/2007"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        xmlns:cjc="clr-namespace:CJC.Ag.XnaToWpf;assembly=ClientBin/CJC.Ag.XnaToWpf.dll"
        xmlns:controls="clr-namespace:Silverlight.Samples.Controls;assembly=ClientBin/Silverlight.Samples.Controls.dll"
        Loaded="Page_Loaded"
        x:Class="SilverlightPhysics.Page;assembly=ClientBin/SilverlightPhysics.dll"
        Background="PaleGoldenRod"
        Name="local"
        Width="5000"
        Height="5000"
        >

  <Canvas.Resources>
    <Storyboard x:Name="timer" Completed="timer_Tick">
      <DoubleAnimation Duration="00:00:00.02" />
    </Storyboard>
  </Canvas.Resources>

  <Canvas Name="content" Width="100%" Height="100%">
    <Canvas.RenderTransform>
      <TransformGroup>
        <ScaleTransform Name="scale"/>
        <TranslateTransform Name="translate"/>
      </TransformGroup>
    </Canvas.RenderTransform>
  </Canvas>

  <controls:Button Text="Drop wheel" Canvas.Top="0" Click="dropSphere_Click" />
  <!--  <controls:Button Text="Drop box" Canvas.Top="20" Click="dropBox_Click" />-->
  <TextBlock Canvas.Top="50" Name="pos" />

</Canvas>